
#include <stdlib.h>
#include <stdio.h>

int main(int argc, char **argv)
{
	unsigned int i;
	char cT[8192];
	for (i = 0; i < 8192; i++)
	{
		cT[i] = i;
	}

	i = 0;
	while (true)
	{
		char szT[256];
		printf("%d\n", i);
		sprintf(szT, "f%d", i++);
		FILE *fp = fopen(szT, "w+t");
		for (int j = 0; j < 16384; j++)
		{
			fwrite(cT, sizeof(cT), 1, fp);
		}
		fclose(fp);
	}
	return 0;
}